package cn.superchart.module.uerole.service;

import cn.superchart.common.base.BaseService;
import cn.superchart.module.role.param.ScRoleAddParam;
import cn.superchart.module.role.param.ScRoleDetailParam;
import cn.superchart.module.role.param.ScRoleEditParam;
import cn.superchart.module.uerole.param.ScUserRoleAddParam;
import cn.superchart.module.uerole.param.ScUserRoleDetailParam;
import cn.superchart.module.uerole.param.ScUserRoleEditParam;

import java.util.List;

public interface ScUserRoleService extends BaseService {

    void add(ScUserRoleAddParam scUserRoleAddParam);

    void edit(ScUserRoleEditParam scUserRoleEditParam);

    ScUserRoleDetailParam detail(String id);

    void initUserRole(String userId, String roleId);

    void removeByUid(String userId);

    List<String> queryRoleIdByUid(String userId);

}
